﻿<Window x:Class="CtxPublishTool.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="700" Width="700"> 
    <Window.Resources>
        <Style TargetType="Button">
            <Setter Property="Margin" Value="10,2,10,2"></Setter>
        </Style>
    </Window.Resources>
    <Grid>
        <StackPanel Orientation="Vertical">
            <GroupBox Padding="3">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="150"></ColumnDefinition>
                        <ColumnDefinition Width="150"></ColumnDefinition>
                        <ColumnDefinition Width="150"></ColumnDefinition>
                        <ColumnDefinition Width="*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <StackPanel Grid.Column="0">
                        <Button Content="Prepare Setup" Command="{Binding PrepareSetupCommand}"></Button>
                        <Button Content="Setup Sites" Command="{Binding SetupSitesCommand}"></Button>
                    </StackPanel>
                    <StackPanel Grid.Column="1"></StackPanel>
                    <StackPanel Grid.Column="2">
                        <Button Content="Compress Files" Command="{Binding CompressFilesCommand}"></Button>
                        <Button Content="Prepare Upload to Gold" Command="{Binding PrepareUploadtoGoldCommand}"></Button>
                    </StackPanel>
                    <StackPanel Grid.Column="3">
                        <Button Content="AllInOne" Command="{Binding AllInOneCommand}"></Button>                        
                    </StackPanel>
                </Grid>
            </GroupBox>
            <StackPanel>
                <TextBlock Text="{Binding Status, Mode=OneWay}"></TextBlock>
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
